//
//  RuleTableViewCell.m
//  兼职页面
//
//  Created by kuiyuan liang on 2021/5/29.
//

#import "RuleTableViewCell.h"
#import "RuleView.h"
#import "CommonUtil.h"

@interface RuleTableViewCell()
@property (strong, nonatomic) RuleView * ruleView;
@end

@implementation RuleTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self addSubview:self.ruleView];
    }
    return self;
}

-(RuleView *)ruleView{
    if (!_ruleView) {
        _ruleView = [[RuleView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH-AD(20), AD(500))];
    }
    return _ruleView;
}

@end
